<?php

!defined('IN_NOVA') && exit('Access Denied!');

class Index {

	public function start() {
		global $request,$cache,$theme;

		//$theme->title = L( '_HOME_PAGE_' );

		// 参数处理
		$theme->current_page = max( 1, $request->p );
		$theme->max_per_page = $cache->config['maxperpage'];

		$theme->id = 0;
		$theme->params = '';
		$theme->article_num = $cache->count['article_num'];
		$theme->load( 'index' );
	}
}
?>
